package com.hdw.auth.api;

import com.hdw.common.vo.PaginationVO;
import java.util.List;
import com.hdw.auth.bean.model.BaseAuthUse;

/**
 * baseAuthUse服务类
 * Created by liujunlei on 2022/01/05.
 */
public interface BaseAuthUseService {

    List<BaseAuthUse> findByModel(BaseAuthUse baseAuthUse);

    PaginationVO<BaseAuthUse> findPageByModel(BaseAuthUse baseAuthUse, Integer pageNum, Integer pageSize);

    BaseAuthUse getById(Long idUse);

    BaseAuthUse getByCd(String cd);

    int insert(BaseAuthUse baseAuthUse);

    int insertSelective(BaseAuthUse baseAuthUse);

    int updateByIdSelective(BaseAuthUse baseAuthUse);

    int updateById(BaseAuthUse baseAuthUse);

    int deleteById(Long idUse);
}
